<%--
  Created by IntelliJ IDEA.
  User: Gavin
  Date: 2016/2/5
  Time: 11:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<head>
    <base href="<%=basePath%>">
    <title>注册</title>
</head>
<body>
<div class="container">
    <div>
        <form method="post" action="user/registerAction">
            <table>
                <tr>
                    <th>用户名：</th>
                    <td><input type="text" name="userName"/></td>
                </tr>
                <tr>
                    <th>密码：</th>
                    <td><input type="password" name="userPassword"/></td>
                </tr>
                <tr>
                    <th>性别：</th>
                    <td><input name="sex" type="radio" checked="true" value="男"/>男 <input name="sex" type="radio" value="女"/>女</td>
                </tr>
                <tr>
                    <th>手机号：</th>
                    <td><input type="text" name="mobilePhoneNo" /></td>
                </tr>
                <tr>
                    <th>邮箱: </th>
                    <td><input type="text" name="email" /></td>
                </tr>
                <tr>
                    <th></th>
                    <td><button name="submit" type="submit">注册</button></td>
                </tr>
            </table>

        </form>
    </div>
</div>
</body>
</html>
